﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace TA.Turbo.Controls
{
	public class ExpansionNode : BaseTextNode
	{

		#region PUBLIC
		#region INIT
		#endregion
		#region EVENTS
		#endregion
		#region PROPS
		#endregion
		#region METHODS
		#endregion
		#endregion
		#region INTERNAL
		#region CONST/STATIC
		#endregion
		#region VARS
		#endregion
		#region PROPS
		protected override TreeNodeType Type
		{
			get
			{
				return TreeNodeType.Expansion;
			}
		}
		#endregion
		#region METHODS
		#region INIT
		#endregion
		#region DATA
		#endregion
		#region HANDLERS
		#endregion
		#region RENDER
		protected override void RenderContentsMain(TreeView owner, TreeNodePosition position, int level, System.Web.UI.HtmlTextWriter writer)
		{
			writer.AddAttribute(HtmlTextWriterAttribute.Href, "");
			writer.RenderBeginTag(HtmlTextWriterTag.A);

			writer.Write(this.Text);

			writer.RenderEndTag();
		}
		#endregion
		#endregion
		#endregion
	}
}
